package org.jeecg.modules.message.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.system.base.service.JeecgService;
import org.jeecg.entity.meter.Meter;
import org.jeecg.modules.message.entity.SysMessage;
import org.jeecg.vo.meter.MeterSwitchRespVo;

import java.util.List;
import java.util.Map;

/**
 * @Description: 消息
 * @Author: jeecg-boot
 * @Date:  2019-04-09
 * @Version: V1.0
 */
public interface ISysMessageService extends JeecgService<SysMessage> {

    List<SysMessage> selectPage(Page<SysMessage> page, SysMessage sysMessage);
    List<SysMessage> queryExistMessage(List<Meter> meterList);
    void sendPush(Map<List<String>, SysMessage> pushMap);

    void saveForTenant(SysMessage sysMessage);

    void updateSmsLevel(List<MeterSwitchRespVo> switchRespVoList);
}
